package com.example.im.service;

import com.example.im.model.User;

public interface UserService {
    // 用户注册
    boolean registerUser(User user);


    // 用户登录验证
    User loginUser(User user);

    // 获取用户信息
    User getUserByUsername(String username);
}
